package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.LabourEnterpriseAdmittanceDao;
import com.site.wisdom_construction.entity.personnelModule.LabourEnterpriseAdmittance;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/4
 * @Description
 */
@Service
public class LabourEnterpriseAdmittanceService implements LabourEnterpriseAdmittanceDao {
    @Autowired
    private LabourEnterpriseAdmittanceDao labourEnterpriseAdmittanceDao;

    @Override
    public int insertLabourEnterpriseAdmittance(Map map) {
        return labourEnterpriseAdmittanceDao.insertLabourEnterpriseAdmittance(map);
    }

    @Override
    public int deleteLabourEnterpriseAdmittance(Map map) {
        return labourEnterpriseAdmittanceDao.deleteLabourEnterpriseAdmittance(map);
    }

    @Override
    public int updateLabourEnterpriseAdmittance(Map map) {
        return labourEnterpriseAdmittanceDao.updateLabourEnterpriseAdmittance(map);
    }

    @Override
    public List<LabourEnterpriseAdmittance> findLabourEnterpriseAdmittanceByPage(Map map) {
        return labourEnterpriseAdmittanceDao.findLabourEnterpriseAdmittanceByPage(map);
    }

    @Override
    public long Total(Map map) {
        return labourEnterpriseAdmittanceDao.Total(map);
    }

    @Override
    public List<LabourEnterpriseAdmittance> findLabourEnterpriseAdmittanceById(Map map) {
        return labourEnterpriseAdmittanceDao.findLabourEnterpriseAdmittanceById(map);
    }

    @Override
    public List<LabourEnterpriseAdmittance> selectLabourEnterpriseAdmittance(Map map) {
        return labourEnterpriseAdmittanceDao.selectLabourEnterpriseAdmittance(map);
    }
}
